<div class="modal-header">
  <div class="modal-title">新建站内信</div>
</div>
<nz-card [nzBordered]="false">
  <form nz-form [formGroup]="form" se-container="1" labelWidth="200">
    <se label="标题" error="请输入标题" required>
      <input nz-input formControlName="title" placeholder="给目标起个名字" />
    </se>

    <se label="等级">
      <nz-radio-group formControlName="public2">
        <label nz-radio [nzValue]="1">普通</label>
        <label nz-radio [nzValue]="2">一般</label>
        <label nz-radio [nzValue]="3">重要</label>
      </nz-radio-group>
    </se>

    <se label="内容" error="请输入内容" required>
      <textarea nz-input formControlName="standard" [nzAutosize]="{ minRows: 4 }" placeholder="请输入内容"></textarea>
    </se>

    <se label="目标公开" extra="客户、邀评人默认被分享">
      <nz-radio-group formControlName="public">
        <label nz-radio [nzValue]="1">公开</label>
        <label nz-radio [nzValue]="2">部分公开</label>
        <label nz-radio [nzValue]="3">不公开</label>
      </nz-radio-group>
      <input *ngIf="form.value.public === 2" nz-input formControlName="publicUsers" placeholder="公开给" />
    </se>
    <se>
      <button nz-button nzType="primary" [disabled]="form.invalid" type="submit" [nzLoading]="submitting">提交</button>
      <button nz-button class="ml-sm">保存</button>
    </se>
  </form>
</nz-card>
